/**
 * @Author: 健聪
 * @Description: switch语句
 * @Date: 2024/1/12
 */
void main() {
  String language = "Java";

  switch (language) {
    case "Dart":
      print("This is the Dart language.");
      break;
    case "Java":
      print("This is the Java language.");
      break;
    case "Python":
      print("This is the Python language.");
      break;
    default:
      print("None");
  }

  switch (language) {
    D:
    case "Dart":
      print("This is the Dart language.");
      break;
    case "Java":
      print("This is the Java language.");
      continue D;
      // break;
    case "Python":
      print("This is the Python language.");
      break;
    default:
      print("None");
  }
}
